package com.kurumi.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.kurumi.mapper.MedicalRecordQualityControlMapper;
import com.kurumi.query.MedicalRecordQualityControlQuery;
import com.kurumi.service.MedicalRecordQualityControlService;

@Service
public class MedicalRecordQualityControlServiceImpl implements MedicalRecordQualityControlService {

	
	@Autowired
	private MedicalRecordQualityControlMapper qualityControlMapper;
	
	@Override
	public List<Map<String, Object>> getQualityControlImperfection(MedicalRecordQualityControlQuery params) {
		// TODO Auto-generated method stub
		return qualityControlMapper.getQualityControlImperfection(params);
	}

	@Override
	public List<Map<String, Object>> getQualityControlRecord(MedicalRecordQualityControlQuery params) {
		// TODO Auto-generated method stub
		return qualityControlMapper.getQualityControlRecord(params);
	}

	@Override
	public List<Map<String, Object>> getQualityControlMedicalRecordByVisitGuid(String visitGuid) {
		// TODO Auto-generated method stub
		return qualityControlMapper.getQualityControlMedicalRecordByVisitGuid(visitGuid);
	}

}
